package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品规格对象 t_goods_specs
 *
 * @author ruoyi
 * @date 2024-11-22
 */
public class TGoodsSpecs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品规格id */
    private Long goodsSpecsId;

    /** 关联商品id */
    @Excel(name = "关联商品id")
    private String goodsId;

    /** 商品规格名称 */
    @Excel(name = "商品规格名称")
    private String goodsSpecsName;

    /** 商品规格价格 */
    @Excel(name = "商品规格价格")
    private BigDecimal goodsSpecsPrice;

    /** 商品规格数量 */
    @Excel(name = "商品规格数量")
    private Long goodsSpecsNum;

    public void setGoodsSpecsId(Long goodsSpecsId)
    {
        this.goodsSpecsId = goodsSpecsId;
    }

    public Long getGoodsSpecsId()
    {
        return goodsSpecsId;
    }
    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId()
    {
        return goodsId;
    }
    public void setGoodsSpecsName(String goodsSpecsName)
    {
        this.goodsSpecsName = goodsSpecsName;
    }

    public String getGoodsSpecsName()
    {
        return goodsSpecsName;
    }
    public void setGoodsSpecsPrice(BigDecimal goodsSpecsPrice)
    {
        this.goodsSpecsPrice = goodsSpecsPrice;
    }

    public BigDecimal getGoodsSpecsPrice()
    {
        return goodsSpecsPrice;
    }
    public void setGoodsSpecsNum(Long goodsSpecsNum)
    {
        this.goodsSpecsNum = goodsSpecsNum;
    }

    public Long getGoodsSpecsNum()
    {
        return goodsSpecsNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsSpecsId", getGoodsSpecsId())
            .append("goodsId", getGoodsId())
            .append("goodsSpecsName", getGoodsSpecsName())
            .append("goodsSpecsPrice", getGoodsSpecsPrice())
            .append("goodsSpecsNum", getGoodsSpecsNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
